﻿{% extends "pubSys/pub_base.html" %}

{% block current_web %}
    <h1>众包数据服务</h1>
    <span class="intro-text-small">灵活发布、线上接单、远程作业、智能质检</span>
{% endblock %}
{% block content %}
<div class="gtco-section border-bottom">
		<div class="gtco-container">
			<div class="row">
				<div class="col-md-8 text-left gtco-heading">
					<h2>平台优势</h2>
                    <p><br></p>
				</div>
			</div>
			<div class="row">
				<div class="col-md-8">
					<div class="slideshow-container">
					  <div class="slide">
						<img src="/static/images/ad_1.png" alt="Image 1">
					  </div>
					  <div class="slide">
						<img src="/static/images/ad_2.png" alt="Image 2">
					  </div>
					  <div class="slide">
						<img src="/static/images/ad_3.png" alt="Image 3">
					  </div>

					  <div class="slideshow-controls">
						<button class="slideshow-control" data-slide-index="0"></button>
						<button class="slideshow-control" data-slide-index="1"></button>
						<button class="slideshow-control" data-slide-index="2"></button>
					  </div>

					  <button class="slideshow-arrow prev-arrow"></button>
					  <button class="slideshow-arrow next-arrow"></button>
					</div>

					<style type="text/css">
						.slideshow-container {
						  position: relative;
						  width: 100%;
						  height: 400px;
						  overflow: hidden;
						}

						.slide {
						  position: absolute;
						  top: 0;
						  left: 0;
						  width: 100%;
						  height: 100%;
						  opacity: 0;
						  transition: opacity 0.5s ease-in-out;
						}

						.slide.active {
						  opacity: 1;
						}

						.slideshow-controls {
						  position: absolute;
						  bottom: 10px;
						  left: 50%;
						  transform: translateX(-50%);
						}

						.slideshow-control {
						  display: inline-block;
						  width: 10px;
						  height: 10px;
						  border-radius: 50%;
						  background: #ccc;
						  margin: 0 5px;
						  border: none;
						  padding: 0;
						  cursor: pointer;
						}

						.slideshow-control.active {
						  background: #1E90FF;
						}

						.slideshow-arrow {
						  position: absolute;
						  top: 50%;
						  transform: translateY(-50%);
						  width: 40px;
						  height: 40px;
						  background: #ccc;
						  border: none;
						  padding: 0;
						  cursor: pointer;
						  z-index: 1;
						}

						.prev-arrow {
							left: 10px;
							background: url("/static/images/arrow-left.png") no-repeat 50%;
						}

						.next-arrow {
							right: 10px;
							background: url("/static/images/arrow-right.png") no-repeat 50%;
						}
					</style>

					<script type="text/javascript">
						const slides = document.querySelectorAll('.slide');
						const controls = document.querySelectorAll('.slideshow-control');
						let currentIndex = 0;

						function showSlide(index) {
						  slides.forEach((slide, i) => {
							if (i === index) {
							  slide.classList.add('active');
							} else {
							  slide.classList.remove('active');
							}
						  });

						  controls.forEach((control, i) => {
							if (i === index) {
							  control.classList.add('active');
							} else {
							  control.classList.remove('active');
							}
						  });
						}

						function nextSlide() {
						  currentIndex = (currentIndex + 1) % slides.length;
						  showSlide(currentIndex);
						}

						function goToSlide(index) {
						  currentIndex = index;
						  showSlide(currentIndex);
						}

						controls.forEach((control, index) => {
						  control.addEventListener('click', () => {
							goToSlide(index);
						  });
						});

						setInterval(nextSlide, 3000);

						const prevArrow = document.querySelector('.prev-arrow');
						const nextArrow = document.querySelector('.next-arrow');

						prevArrow.addEventListener('click', () => {
						  currentIndex = (currentIndex - 1 + slides.length) % slides.length;
						  showSlide(currentIndex);
						});

						nextArrow.addEventListener('click', () => {
						  currentIndex = (currentIndex + 1) % slides.length;
						  showSlide(currentIndex);
						});
					</script>

				</div>
				<div class="col-md-4">
					<div class="feature-left animate-box" data-animate-effect="fadeInLeft" style="height: 70px">
						<span class="icon">
							<i class="ti-layers-alt"></i>
						</span>
						<div class="feature-copy">
							<h3>多种任务场景</h3>
						</div>
					</div>

					<div class="feature-left animate-box" data-animate-effect="fadeInLeft" style="height: 70px">
						<span class="icon">
							<i class="ti-key"></i>
						</span>
						<div class="feature-copy">
							<h3>实时任务发布</h3>
						</div>
					</div>

					<div class="feature-left animate-box" data-animate-effect="fadeInLeft" style="height: 70px">
						<span class="icon">
							<i class="ti-image"></i>
						</span>
						<div class="feature-copy">
							<h3>人机协作审查</h3>
						</div>
					</div>

					<div class="feature-left animate-box" data-animate-effect="fadeInLeft" style="height: 70px">
						<span class="icon">
							<i class="ti-heart"></i>
						</span>
						<div class="feature-copy">
							<h3>快速上手入门</h3>
						</div>
					</div>
			</div>
		</div>
	</div>
	</div>

    <!-- 不同类型任务场景展示 -->
    <!-- 文本类任务场景-->
    <div class="gtco-section border-bottom" id="doc_task_show" style="background-color:#E6E6FA">
		<div class="gtco-container">
			<div class="row">
				<div class="col-md-8 col-md-offset-2 text-center gtco-heading">
					<h2>文本类任务场景</h2>
					<p>对文本进行分类，主题归纳，词义消歧标注，情感标注等</p>
				</div>
			</div>
			<div class="row">
				<div class="col-lg-6 col-md-6 col-sm-6">
					<a href="/static/images/doc_task_show_1.png" class="fh5co-project-item image-popup">
						<figure>
							<div class="overlay"><i class="ti-plus"></i></div>
							<img src="/static/images/doc_task_show_1.png" alt="Image" class="img-responsive">
						</figure>
						<div class="fh5co-text">
							<h2>情感标签</h2>
                            <p><br></p>
						</div>
					</a>
				</div>
				<div class="col-lg-6 col-md-6 col-sm-6">
					<a href="/static/images/doc_task_show_2.png" class="fh5co-project-item image-popup">
						<figure>
							<div class="overlay"><i class="ti-plus"></i></div>
							<img src="/static/images/doc_task_show_2.png" alt="Image" class="img-responsive">
						</figure>
						<div class="fh5co-text">
							<h2>文字排序</h2>
                            <p><br></p>
						</div>
					</a>
				</div>

				<div class="col-lg-6 col-md-6 col-sm-6">
					<a href="/static/images/doc_task_show_3.png" class="fh5co-project-item image-popup">
						<figure>
							<div class="overlay"><i class="ti-plus"></i></div>
							<img src="/static/images/doc_task_show_3.png" alt="Image" class="img-responsive">
						</figure>
						<div class="fh5co-text">
							<h2>文字标签</h2>
							<p><br></p>
						</div>
					</a>
				</div>
				<div class="col-lg-6 col-md-6 col-sm-6">
					<a href="/static/images/doc_task_show_4.png" class="fh5co-project-item image-popup">
						<figure>
							<div class="overlay"><i class="ti-plus"></i></div>
							<img src="/static/images/doc_task_show_4.png" alt="Image" class="img-responsive">
						</figure>
						<div class="fh5co-text">
							<h2>中英文标注</h2>
							<p><br></p>
						</div>
					</a>
				</div>

			</div>
		</div>
	</div>

    <!-- 图片类任务场景-->
    <div class="gtco-section border-bottom" id="pic_task_show">
		<div class="gtco-container">
			<div class="row">
				<div class="col-md-8 col-md-offset-2 text-center gtco-heading">
					<h2>视觉类任务场景</h2>
					<p>对图片进行分类，质量评估，区域实体标注等</p>
				</div>
			</div>
			<div class="row">
				<div class="col-lg-6 col-md-6 col-sm-6">
					<a href="/static/images/pic_task_show_1.png" class="fh5co-project-item image-popup">
						<figure>
							<div class="overlay"><i class="ti-plus"></i></div>
							<img src="/static/images/pic_task_show_1.png" alt="Image" class="img-responsive">
						</figure>
						<div class="fh5co-text">
							<h2>相貌/表情/手势/肢体判断</h2>
                            <p><br></p>
						</div>
					</a>
				</div>
				<div class="col-lg-6 col-md-6 col-sm-6">
					<a href="/static/images/pic_task_show_2.png" class="fh5co-project-item image-popup">
						<figure>
							<div class="overlay"><i class="ti-plus"></i></div>
							<img src="/static/images/pic_task_show_2.png" alt="Image" class="img-responsive">
						</figure>
						<div class="fh5co-text">
							<h2>图片拉框</h2>
                            <p><br></p>
						</div>
					</a>
				</div>

				<div class="col-lg-6 col-md-6 col-sm-6">
					<a href="/static/images/pic_task_show_3.png" class="fh5co-project-item image-popup">
						<figure>
							<div class="overlay"><i class="ti-plus"></i></div>
							<img src="/static/images/pic_task_show_3.png" alt="Image" class="img-responsive">
						</figure>
						<div class="fh5co-text">
							<h2>语义分割</h2>
							<p><br></p>
						</div>
					</a>
				</div>
				<div class="col-lg-6 col-md-6 col-sm-6">
					<a href="/static/images/pic_task_show_4.png" class="fh5co-project-item image-popup">
						<figure>
							<div class="overlay"><i class="ti-plus"></i></div>
							<img src="/static/images/pic_task_show_4.png" alt="Image" class="img-responsive">
						</figure>
						<div class="fh5co-text">
							<h2>图片打点</h2>
							<p><br></p>
						</div>
					</a>
				</div>

			</div>
		</div>
	</div>

    <!-- 语音类任务场景-->
    <div class="gtco-section border-bottom" id="doc_task_show" style="background-color:#E6E6FA">
		<div class="gtco-container">
			<div class="row">
				<div class="col-md-8 col-md-offset-2 text-center gtco-heading">
					<h2>语音类任务场景</h2>
					<p>对语音进行分类，语音的文本转写、校对、发音人的角色噪音，语音内容进行标注</p>
				</div>
			</div>
			<div class="row">
				<div class="col-lg-6 col-md-6 col-sm-6">
					<a href="/static/images/video_task_show_1.png" class="fh5co-project-item image-popup">
						<figure>
							<div class="overlay"><i class="ti-plus"></i></div>
							<img src="/static/images/video_task_show_1.png" alt="Image" class="img-responsive">
						</figure>
						<div class="fh5co-text">
							<h2>TTS标注</h2>
                            <p><br></p>
						</div>
					</a>
				</div>
				<div class="col-lg-6 col-md-6 col-sm-6">
					<a href="/static/images/video_task_show_2.png" class="fh5co-project-item image-popup">
						<figure>
							<div class="overlay"><i class="ti-plus"></i></div>
							<img src="/static/images/video_task_show_2.png" alt="Image" class="img-responsive">
						</figure>
						<div class="fh5co-text">
							<h2>音素标注</h2>
                            <p><br></p>
						</div>
					</a>
				</div>

				<div class="col-lg-6 col-md-6 col-sm-6">
					<a href="/static/images/video_task_show_3.png" class="fh5co-project-item image-popup">
						<figure>
							<div class="overlay"><i class="ti-plus"></i></div>
							<img src="/static/images/video_task_show_3.png" alt="Image" class="img-responsive">
						</figure>
						<div class="fh5co-text">
							<h2>语音情绪/情感判断</h2>
							<p><br></p>
						</div>
					</a>
				</div>
				<div class="col-lg-6 col-md-6 col-sm-6">
					<a href="/static/images/video_task_show_4.png" class="fh5co-project-item image-popup">
						<figure>
							<div class="overlay"><i class="ti-plus"></i></div>
							<img src="/static/images/video_task_show_4.png" alt="Image" class="img-responsive">
						</figure>
						<div class="fh5co-text">
							<h2>语音质量打分</h2>
							<p><br></p>
						</div>
					</a>
				</div>

			</div>
		</div>
	</div>

{% endblock %}